<%@include file="../pages/includes/taglibs.jspf"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<title>
 			 <decorator:title /> | <s:text name="appname"/>
 		</title>
 		<script type="text/javascript" src="js/jquery-1.1.3.1.js"></script>
 		<link rel="stylesheet" type="text/css" href="/styles/default.css" />
 		<link rel="stylesheet" type="text/css" href="/styles/forms.css" />
 		<decorator:head />
 	</head>
 	<body>
 		<h1><decorator:title default="tittel" /></h1>

   		<%-- Different kind of messages --%>
		<s:actionerror/>
		<s:fielderror/>
		<s:actionmessage/>
		
 		<div class="mainbody">
 			<decorator:body />
 		</div> 

		<s:if test="%{not empty loggedInUser}">
	 		<hr />
	 		<p>
	 			<a href="<s:url action="logout" />"><s:text name="user.logout" /></a>
	 		</p>
	  	</s:if> 
	</body>
	
</html>